package ht.dao;

import ht.domain.Formula;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by yanlin on 2017/11/30.
 */
public interface FormulaDao {
    public List<Formula> getAllFormula();

    public Formula getFormula(@Param("param_id") int id);

    public int getFormulaCount();

    public List<Formula> getPageFormula(int start, int limit);

    public int addFormula(Formula formula);

    public int upptFormula(Formula formula);

    public int deleFormula(@Param("param_id") int id);

}
